﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MothKq.aspx.cs" Inherits="Catering.Catering_Page.richang.MothKq" %>

<%@ Register Src="../../UCPanle/UCDDLToolWithDate.ascx" TagName="UCDDLToolWithDate"
    TagPrefix="uc2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=7" />
    <title></title>
    <link rel="stylesheet" type="text/css" href="../../Style/head_2.css" />
    <link rel="stylesheet" type="text/css" href="../../Style/center.css" />
    <link rel="stylesheet" type="text/css" href="../../Style/zhezhao_2.css" />
    <script src="../../Style/zhezhao.js" type="text/javascript"></script>
    <script src="../../Style/xxk.js" type="text/javascript"></script>
    <script src="../../Scripts/jquery-1.4.1.js" type="text/javascript"></script>
    <script language="javascript" type="text/javascript" src="../../Scripts/My97DatePicker/WdatePicker.js"></script>
    <style type="text/css">
        .Create_Recipe
        {
            margin-top: 0;
        }
        .Create_Recipe
        {
            border: 1px solid #159aec;
            border-top: none;
            width: 998px;
        }
        .soso_lt
        {
            padding: 5px 0;
        }
        .soso_lt a
        {
            margin-left: 3px;
        }
        .table_kq
        {
            background-color: #C6DCF1; margin-bottom:20px;
        }
        .table_kq th
        {
            height: 30px;
            line-height: 30px;
            background-image: url(../../Images/table_th_bg.gif);
            background-position: 0px -1px;
            background-repeat: repeat-x;
        }
        .table_kq tr
        {
            background-color: #ffffff;
        }
        .table_kq td
        {
            text-align: center; height:26px; line-height:26px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div class="xxk_button1">
        <ul>
            <li id="li2_1" class="li_out li_over"><a href="MothKq.aspx">月考勤</a> </li>
            <li id="li2_2" class="li_out"><a href="YearKq.aspx">年考勤</a> </li>
        </ul>
    </div>
    <div class="Center_Content" id="div_search" style="display: block">
        <div class="div_0207 left_width500" style="height:70px; width: 998px; background-color:#E5F1FD;">
            <table align="left" width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td height="34" colspan="8">
                            <uc2:UCDDLToolWithDate ID="UCDDLToolWithDate1" ChoiseYearORMonth="true" DisplayTextBox="false"
                                runat="server" />
                        </td>
                    </tr>
                    <tr>
                        <td width="60" height="34" align="right">姓　名：</td>
                        <td width="120">
                            <asp:TextBox ID="txt_name" runat="server" Width="98" CssClass="input_bg"></asp:TextBox>
                        </td>
                        <td width="55px" align="right">岗位：</td>
                        <td width="136">
                            <asp:TextBox ID="txt_gw" runat="server" Width="98" CssClass="input_bg"></asp:TextBox>
                        </td>
                        <td width="100">
                            <asp:Button ID="But_Moths_Seacher" CssClass="input_btn_a" Text="搜索" runat="server" OnClick="But_Moths_Seacher_Click" />
                        </td>
                        <td>&nbsp;</td>
                        <td width="100" align="right">
                            <asp:Button ID="but_output_Moths" CssClass="input_btn_a" Text="导出Excel" runat="server" OnClick="but_output_Moths_Click" />
                        </td>
                        <td width="10">&nbsp;</td>
                    </tr>
            </table>
        </div>
    </div>
    <div class="Center_Content" id="div2_2"  style="min-height:460px; overflow-x:auto;">
        <table width="1140" cellpadding="0" cellspacing="1" class="table_kq">
            <thead>
                <tr>
                    <th width="50">
                        序号
                    </th>
                    <th width="75">
                        姓名
                    </th>
                    <th width="160">
                        岗位
                    </th>
                    <th width="26">
                        1
                    </th>
                    <th width="26">
                        2
                    </th>
                    <th width="26">
                        3
                    </th>
                    <th width="26">
                        4
                    </th>
                    <th width="26">
                        5
                    </th>
                    <th width="26">
                        6
                    </th>
                    <th width="26">
                        7
                    </th>
                    <th width="26">
                        8
                    </th>
                    <th width="26">
                        9
                    </th>
                    <th width="26">
                        10
                    </th>
                    <th width="26">
                        11
                    </th>
                    <th width="26">
                        12
                    </th>
                    <th width="26">
                        13
                    </th>
                    <th width="26">
                        14
                    </th>
                    <th width="26">
                        15
                    </th>
                    <th width="26">
                        16
                    </th>
                    <th width="26">
                        17
                    </th>
                    <th width="26">
                        18
                    </th>
                    <th width="26">
                        19
                    </th>
                    <th width="26">
                        20
                    </th>
                    <th width="26">
                        21
                    </th>
                    <th width="26">
                        22
                    </th>
                    <th width="26">
                        23
                    </th>
                    <th width="26">
                        24
                    </th>
                    <th width="26">
                        25
                    </th>
                    <th width="26">
                        26
                    </th>
                    <th width="26">
                        27
                    </th>
                    <th width="26">
                        28
                    </th>
                    <th width="26">
                        29
                    </th>
                    <th width="26">
                        30
                    </th>
                    <th width="26">
                        31
                    </th>
                    <th width="45">
                        出勤
                    </th>
                </tr>
            </thead>
            <asp:Repeater ID="Repeater1" runat="server">
                <ItemTemplate>
                    <tbody>
                        <tr>
                            <td>
                                <%#Eval("tempid")%>
                            </td>
                            <td>
                                <%#Eval("PName") %>
                            </td>
                            <td>
                                <%#Eval("Name") %>
                            </td>
                            <td>
                                <%#Eval("D1").ToString() == "" ? "&nbsp;" : "<img src='../../Images/yes.png' />"%>
                            </td>
                            <td>
                                <%#Eval("D2").ToString() == "" ? "&nbsp;" : "<img src='../../Images/yes.png' />"%>
                            </td>
                            <td>
                                <%#Eval("D3").ToString() == "" ? "&nbsp;" : "<img src='../../Images/yes.png' />"%>
                            </td>
                            <td>
                                <%#Eval("D4").ToString() == "" ? "&nbsp;" : "<img src='../../Images/yes.png' />"%>
                            </td>
                            <td>
                                <%#Eval("D5").ToString() == "" ? "&nbsp;" : "<img src='../../Images/yes.png' />"%>
                            </td>
                            <td>
                                <%#Eval("D6").ToString() == "" ? "&nbsp;" : "<img src='../../Images/yes.png' />"%>
                            </td>
                            <td>
                                <%#Eval("D7").ToString() == "" ? "&nbsp;" : "<img src='../../Images/yes.png' />"%>
                            </td>
                            <td>
                                <%#Eval("D8").ToString() == "" ? "&nbsp;" : "<img src='../../Images/yes.png' />"%>
                            </td>
                            <td>
                                <%#Eval("D9").ToString() == "" ? "&nbsp;" : "<img src='../../Images/yes.png' />"%>
                            </td>
                            <td>
                                <%#Eval("D10").ToString() == "" ? "&nbsp;" : "<img src='../../Images/yes.png' />"%>
                            </td>
                            <td>
                                <%#Eval("D11").ToString() == "" ? "&nbsp;" : "<img src='../../Images/yes.png' />"%>
                            </td>
                            <td>
                                <%#Eval("D12").ToString() == "" ? "&nbsp;" : "<img src='../../Images/yes.png' />"%>
                            </td>
                            <td>
                                <%#Eval("D13").ToString() == "" ? "&nbsp;" : "<img src='../../Images/yes.png' />"%>
                            </td>
                            <td>
                                <%#Eval("D14").ToString() == "" ? "&nbsp;" : "<img src='../../Images/yes.png' />"%>
                            </td>
                            <td>
                                <%#Eval("D15").ToString() == "" ? "&nbsp;" : "<img src='../../Images/yes.png' />"%>
                            </td>
                            <td>
                                <%#Eval("D16").ToString() == "" ? "&nbsp;" : "<img src='../../Images/yes.png' />"%>
                            </td>
                            <td>
                                <%#Eval("D17").ToString() == "" ? "&nbsp;" : "<img src='../../Images/yes.png' />"%>
                            </td>
                            <td>
                                <%#Eval("D18").ToString() == "" ? "&nbsp;" : "<img src='../../Images/yes.png' />"%>
                            </td>
                            <td>
                                <%#Eval("D19").ToString() == "" ? "&nbsp;" : "<img src='../../Images/yes.png' />"%>
                            </td>
                            <td>
                                <%#Eval("D20").ToString() == "" ? "&nbsp;" : "<img src='../../Images/yes.png' />"%>
                            </td>
                            <td>
                                <%#Eval("D21").ToString() == "" ? "&nbsp;" : "<img src='../../Images/yes.png' />"%>
                            </td>
                            <td>
                                <%#Eval("D22").ToString() == "" ? "&nbsp;" : "<img src='../../Images/yes.png' />"%>
                            </td>
                            <td>
                                <%#Eval("D23").ToString() == "" ? "&nbsp;" : "<img src='../../Images/yes.png' />"%>
                            </td>
                            <td> 
                                <%#Eval("D24").ToString() == "" ? "&nbsp;" : "<img src='../../Images/yes.png' />"%>
                            </td>
                            <td>
                                <%#Eval("D25").ToString() == "" ? "&nbsp;" : "<img src='../../Images/yes.png' />"%>
                            </td>
                            <td>
                                <%#Eval("D26").ToString() == "" ? "&nbsp;" : "<img src='../../Images/yes.png' />"%>
                            </td>
                            <td>
                                <%#Eval("D27").ToString() == "" ? "&nbsp;" : "<img src='../../Images/yes.png' />"%>
                            </td>
                            <td>
                                <%#Eval("D28").ToString() == "" ? "&nbsp;" : "<img src='../../Images/yes.png' />"%>
                            </td>
                            <td>
                                <%#Eval("D29").ToString() == "" ? "&nbsp;" : "<img src='../../Images/yes.png' />"%>
                            </td>
                            <td>
                                <%#Eval("D30").ToString() == "" ? "&nbsp;" : "<img src='../../Images/yes.png' />"%>
                            </td>
                            <td>
                                <%#Eval("D31").ToString() == "" ? "&nbsp;" : "<img src='../../Images/yes.png' />"%>
                            </td>
                            <td>
                                <%#Eval("CountKaoQin").ToString() == "" ? "&nbsp;" : Eval("CountKaoQin").ToString()%>
                            </td>
                        </tr>
                    </tbody>
                </ItemTemplate>
            </asp:Repeater>
        </table>
    </div>
    <div class="footer">
        <strong>中海油能源发展配餐服务公司渤海自营油田作业公司&nbsp;&nbsp;版权所有@CopyRight 2012</strong><span>技术支持：北京天择嘉业科技有限公司</span>
    </div>
    </form>
</body>
</html>
